import request from '@/utils/request'
// 分页查询生产账户
export function getRecordApi(pageNum, pageSize, startDate, endDate, phone, meterNumber, meterType, productId, rentFeeHuifuOrder, rentFeeOrder, rentFeeWay, tenantId) {
    return request({
        url: '/sys/meterRentFee/record/page',
        method: 'get',
        params: { pageNum, pageSize, startDate, endDate, phone, meterNumber, meterType, productId, rentFeeHuifuOrder, rentFeeOrder, rentFeeWay, tenantId }
    })
}

// 获取生产账户列表
export function getProductIdApi() {
    return request({
        url: '/sys/meterRentFee/record/products'
    })
}
// 获取租户列表
export function getTenantApi() {
    return request({
        url: '/sys/meterRentFee/record/teannts'
    })
}
// 导出
export function outOrderApi( startDate, endDate) {
    return request({
        url: '/sys/meterRentFee/record/export',
        method: 'get',
        responseType: 'blob',
        params: { startDate, endDate }
    })
}